<?php
$serverName ="59.50.85.162";
//$uid = "dahema";
//$pwd = "tx*123456";
//$dBase="faxtongxiang";
$connectionInfo = array( "Database"=>"faxtongxiang", "UID"=>"dahema", "PWD"=>"tx*123456","CharacterSet" => "UTF-8" );
$conn=sqlsrv_connect($serverName,$connectionInfo);
if( $conn === false ) {
	die( print_r( mssql_errors(), true));
}